home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / sin.z / sin
Encoding:
Text File  |  1998-10-30  |  4.9 KB  |  131 lines

  1. SIN(3M)                                               Last changed: 2-12-98
  2.  
  3.  
  4. NNAAMMEE
  5.      SSIINN, DDSSIINN, CCSSIINN, CCDDSSIINN - Computes the sine
  6.  
  7. SSYYNNOOPPSSIISS
  8.      UNICOS and UNICOS/mk systems:
  9.  
  10.      SSIINN (([XX==]_x))
  11.      DDSSIINN (([XX==]_x))
  12.      CCSSIINN (([XX==]_x))
  13.  
  14.      UNICOS and IRIX systems:
  15.      CCDDSSIINN (([XX==]_x))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      UNICOS, UNICOS/mk, and IRIX systems
  19.  
  20. SSTTAANNDDAARRDDSS
  21.      Fortran 90
  22.      CCDDSSIINN is a compiler extension to Fortran 90.
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.      CCDDSSIINN is the generic function name.  These functions are CF90
  26.      elemental functions.
  27.  
  28.      A vector version of this intrinsic exists on UNICOS and UNICOS/mk
  29.      systems.  On UNICOS/mk systems, the vector version of this intrinsic
  30.      is used when --hh vveeccttoorr33 (C compiler) or --OO vveeccttoorr33 or --OO33 (Fortran
  31.      compiler) has been specified on the compiler command line.
  32.  
  33.      The entry point CCDDSSIINN is provided for support in other languages.  It
  34.      is not recognized as an intrinsic function; therefore, you must use
  35.      the CCDDIIRR$$ VVFFUUNNCCTTIIOONN directive to allow vectorization.
  36.  
  37.      These functions evaluate _y = sin(_x).
  38.  
  39.    CCFF9900
  40.      CCDDSSIINN is called implicitly by the Fortran 90 compiler as a result of a
  41.      generic SSIINN call with a complex double-precision argument.
  42.  
  43.    CCAALL RReeggiisstteerr UUssaaggee ((CCrraayy RReesseeaarrcchh SSyysstteemmss OOnnllyy))
  44.      Scalar SSIINN:  SSIINN%% (call-by-register)
  45.           on entry   (S1) = argument
  46.           on exit    (S1) = result
  47.  
  48.      Vector SSIINN:  %%SSIINN%% (call-by-register)
  49.           on entry   (V1) = argument vector
  50.           on exit    (V1) = result vector
  51.  
  52.      Scalar DDSSIINN:  DDSSIINN%% (call-by-register)
  53.           on entry   (S1) and (S2) = argument
  54.           on exit    (S1) and (S2) = result
  55.  
  56.      Vector DDSSIINN:  %%DDSSIINN%% (call-by-register)
  57.           on entry   (V1) and (V2) = argument vector
  58.           on exit    (V1) and (V2) = result vector
  59.  
  60.      Scalar CCSSIINN:  CCSSIINN%% (call-by-register)
  61.           on entry   (S1) and (S2) = argument
  62.           on exit    (S1) and (S2) = result
  63.  
  64.      Vector CCSSIINN:  %%CCSSIINN%% (call-by-register)
  65.           on entry   (V1) and (V2) = argument vector
  66.           on exit    (V1) and (V2) = result vector
  67.  
  68.      Scalar CCDDSSIINN:  CCSSDDIINN%% (call-by-register)
  69.           on entry   (S1), (S2), (S3), and (S4) = argument
  70.           on exit    (S1), (S2), (S3), and (S4) = result
  71.  
  72.      Vector CCDDSSIINN:  %%CCSSDDIINN%% (call-by-register)
  73.           on entry   (V1), (V2), (V3), and (V4) = argument vecto
  74.           on exit    (V1), (V2), (V3), and (V4) = result vector
  75.  
  76.    AArrgguummeenntt RRaannggee
  77.      SSIINN:
  78.                  25
  79.           |_x| < 2
  80.  
  81.      DDSSIINN:
  82.                  45
  83.           |_x| < 2
  84.                                        25
  85.           On UNICOS/mk systems, |_x| < 2
  86.  
  87.      CCSSIINN:
  88.                   25          13
  89.           |_x | < 2  , |_x | < 2   * ln2
  90.             _r           _i             25
  91.           On UNICOS/mk systems, |_x|< 2  , |_x | < 710.47586
  92.                                             _i
  93.      CCDDSSIINN:
  94.                   45          13
  95.           |_x | < 2  , |_x | < 2   * ln2
  96.             _r           _i
  97. NNOOTTEESS
  98.      CCDDSSIINN is an outmoded routine for the CF90 compiler.  Refer to the
  99.      _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication SR-3905, for
  100.      information about outmoded features and their preferred standard
  101.      alternatives.
  102.  
  103.      The name of the SSIINN, DDSSIINN, and CCSSIINN intrinsic can be passed as an
  104.      argument.  The name of the CCDDSSIINN intrinsic cannot be passed as an
  105.      argument.
  106.  
  107. RREETTUURRNN VVAALLUUEESS
  108.      SSIINN returns the real sine of its real argument.
  109.  
  110.      DDSSIINN returns the double-precision sine of its double-precision
  111.      argument.
  112.  
  113.      CCSSIINN returns the complex sine of its complex argument.
  114.  
  115.      CCDDSSIINN returns the complex double-precision sine of its complex
  116.      double-precision argument.
  117.  
  118.      On CRAY T90 systems that support IEEE arithmetic, the following return
  119.      values occur:
  120.                                  25
  121.           SSIINN((_x)) = NaN if |_x| > 2
  122.  
  123.           SSIINN((NaN)) = NaN
  124.  
  125.      Additional entry points are available on IRIX systems.  See the IRIX
  126.      man pages for details.
  127.  
  128. SSEEEE AALLSSOO
  129.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  130.      printed version of this man page.
  131.